Platform Explorer / Nuxeo Platform 5.8

Extension point perspectives

Documentation

Extension Point for registering perspectives.

The XML syntax is:

    <perspective name="perspective_name">
        <title>Perspective title</title>
    </perspective>

where: - 'name' is the name of perspective (lower-case alpha-numeric characters, underscores and hyphens) - 'title' is the title of the perspective

Contribution Descriptors

  • Class: org.nuxeo.theme.perspectives.PerspectiveType

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-webengine-blogs-5.8.jar
    <extension point="perspectives" target="org.nuxeo.theme.services.ThemeService">
    
        <perspective name="view">
          <title>VIEW mode</title>
        </perspective>
        <perspective name="create">
          <title>CREATE mode</title>
        </perspective>
        <perspective name="edit">
          <title>EDIT mode</title>
        </perspective>
    
      </extension>
  • nuxeo-theme-core-5.8.jar
    <extension point="perspectives" target="org.nuxeo.theme.services.ThemeService">
    
        <perspective name="default">
          <title>Default perspective</title>
        </perspective>
    
      </extension>
  • nuxeo-webengine-sites-5.8.jar
    <extension point="perspectives" target="org.nuxeo.theme.services.ThemeService">
    
        <perspective name="view">
          <title>VIEW mode</title>
        </perspective>
        <perspective name="create">
          <title>CREATE mode</title>
        </perspective>
        <perspective name="edit">
          <title>EDIT mode</title>
        </perspective>
    
      </extension>
  • nuxeo-platform-webapp-core-5.8.jar
    <extension point="perspectives" target="org.nuxeo.theme.services.ThemeService">
    
        <perspective name="multiple_domains">
          <title>Perspective for multiple domains</title>
        </perspective>
    
      </extension>